{*******************************************************}
{                                                       }
{       DevOnRails                                      }
{                                                       }
{       Copyright (C) 2012 Allan Gomes                  }
{                                                       }
{*******************************************************}

unit Rails.Vcl.Main;

interface

uses
  Vcl.Controls, Vcl.ExtCtrls, System.Classes, Vcl.StdCtrls, Vcl.Forms, Cliente.Model;

type
  TfrmMain = class(TForm)
    btn1: TButton;
    procedure btn1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmMain: TfrmMain;

implementation

{$R *.dfm}

uses
  Rails.Vcl.Controls, Aurelius.Mapping.Attributes, Rails.ActiveRecord.Attributes,
  Rails.MetaData, Dialogs, Aurelius.Mapping.Explorer,
  ClientClassesUnit1, Aurelius.Engine.ObjectManager, DateUtils, Rails.Vcl.View;

procedure TfrmMain.btn1Click(Sender: TObject);
begin
  TView<TUsers,TClienteControllerClient>.Create(Self);
end;

initialization
  ReportMemoryLeaksOnShutdown := True;

end.
